YAML - définition. Qu'est-ce que YAML
Diclib.com
Dictionnaire en ligne

Qu'est-ce (qui) est YAML - définition

HUMAN-READABLE DATA SERIALIZATION FORMAT
Yaml; .yaml; .yml; Yet Another Markup Language; Clark Evans; YAML Ain't Markup Language

YAML         
YAML Ain't Markup Language         
<data, language> (YAML) A data serialisation language designed to be readable and writable by humans and to work well with modern programming languages. YAML uses printable Unicode characters to represent both structure and data. The structural syntax is simple and terse. For example, indentation is used for structure, colons separate pairs, and dashes are used for list items. YAML can represent mappings (hashes or dictionaries), sequences (arrays or lists), scalars (strings or numbers), or any combination of the above. It has a simple {typing system} and reference syntax. Its structures will be particularly familiar to programmers using Perl, Python, PHP, Ruby, or Javascript, but YAML can be used with any programming language. YAML is, in some respects, a simpler alternative to XML, though it does not share the constraints imposed by XML's SGML legacy and has somewhat different aims. YAML Home (http://yaml.org/). (2004-02-02)

Wikipédia

YAML

YAML () (see § History and name) is a human-readable data-serialization language. It is commonly used for configuration files and in applications where data is being stored or transmitted. YAML targets many of the same communications applications as Extensible Markup Language (XML) but has a minimal syntax which intentionally differs from Standard Generalized Markup Language (SGML). It uses both Python-style indentation to indicate nesting, and a more compact format that uses [...] for lists and {...} for maps but forbids tab characters to use as indentation thus only some JSON files are valid YAML 1.2.

Custom data types are allowed, but YAML natively encodes scalars (such as strings, integers, and floats), lists, and associative arrays (also known as maps, dictionaries or hashes). These data types are based on the Perl programming language, though all commonly used high-level programming languages share very similar concepts. The colon-centered syntax, used for expressing key-value pairs, is inspired by electronic mail headers as defined in RFC 822, and the document separator --- is borrowed from MIME (RFC 2046). Escape sequences are reused from C, and whitespace wrapping for multi-line strings is inspired by HTML. Lists and hashes can contain nested lists and hashes, forming a tree structure; arbitrary graphs can be represented using YAML aliases (similar to XML in SOAP). YAML is intended to be read and written in streams, a feature inspired by SAX.

Support for reading and writing YAML is available for many programming languages. Some source-code editors such as Vim, Emacs, and various integrated development environments have features that make editing YAML easier, such as folding up nested structures or automatically highlighting syntax errors.

The official recommended filename extension for YAML files has been .yaml since 2006.